﻿using Common.Communication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Device.Interfaces
{
    public interface IZhiKong : IDevice
    {
        /// <summary>
        ///开机确认
        /// </summary>
        /// <param name="channel">通道</param>
        /// <returns></returns>
        Result<string[]> ReadSensor0(uint cmd,uint ops,ulong data,uint reserve1, uint reserve2, uint reserve3, int channel = 1);
        /// <summary>
        ///自动测试
        /// </summary>
        /// <param name="channel">通道</param>
        /// <returns></returns>
        Result<string[]> ReadSensor1(uint cmd, uint ops, ulong data, uint reserve1, uint reserve2, uint reserve3, int channel = 1);
        /// <summary>
        ///手动测试
        /// </summary>
        /// <param name="channel">通道</param>
        /// <returns></returns>
        Result<string> ReadSensor2(uint cmd, uint ops, ulong data, uint reserve1, uint reserve2, uint reserve3, int channel = 1);
        /// <summary>
        ///手动确认
        /// </summary>
        /// <param name="channel">通道</param>
        /// <returns></returns>
        Result<string> ReadSensor3(uint cmd, uint ops, ulong data, uint reserve1, uint reserve2, uint reserve3, int channel = 1);
        /// <summary>
        ///蓝牙
        /// </summary>
        /// <param name="channel">通道</param>
        /// <returns></returns>
        Result<string[]> ReadSensor4(uint cmd, uint ops, ulong data, uint reserve1, uint reserve2, uint reserve3, int channel = 1);
        /// <summary>
        ///CPU
        /// </summary>
        /// <param name="channel">通道</param>
        /// <returns></returns>
        Result<string> ReadSensor5(uint cmd, uint ops, ulong data, uint reserve1, uint reserve2, uint reserve3, int channel = 1);

    }
}
